package com.gouqi.lpl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gouqi.lpl.domain.Winner;
import com.gouqi.lpl.service.WinnerService;
import com.gouqi.lpl.mapper.WinnerMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WinnerServiceImpl extends ServiceImpl<WinnerMapper, Winner>
    implements WinnerService{

    @Resource
    private WinnerMapper winnerMapper;

    @Override
    public List<Winner> getWinner() {
        return winnerMapper.selectList(null);
    }
}




